package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._02策略模式._4商品价格简单工厂模式;

/**
 * @ClassName CashSuper
 * @Description TODO
 * @Author zero
 * @DATE 2023/7/9 11:40 PM
 * @Version 1.0
 */
public abstract class CashSuper {
    protected double price = 0d; 		//商品单价
    protected int num = 0;			//商品购买数量


    public abstract double acceptCash(double price, int num);
}
